package com.audaque.springboot.foshanupload.web.testdemo.service.impl;

import com.audaque.springboot.foshanupload.web.testdemo.model.domain.User;
import com.audaque.springboot.foshanupload.web.testdemo.service.inface.ServiceC;

import org.springframework.stereotype.Service;

/**
 * @author alexhu
 */
@Service
public class ServiceB {
    final ServiceC serviceC;

    public ServiceB(ServiceC serviceC) {
        this.serviceC = serviceC;
    }

    public User getUserVo(Integer userid) {
        return serviceC.getUser(userid);
    }

}
